//
//  MyTopButton.m
//  UI_A段项目_iDaily Watch
//
//  Created by 徐继垚 on 14-10-13.
//  Copyright (c) 2014年 徐继垚. All rights reserved.
//

#import "MyTopButton.h"

@implementation MyTopButton

- (void)dealloc
{
    [_label1 release];
    [_label2 release];
    
    [super dealloc];
}
- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        
    
         = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 320, 200)];
        _toplabel.backgroundColor = [UIColor redColor];
        [self addSubview:_toplabel];
        
        _label1 = [[UILabel alloc]initWithFrame:CGRectMake(150, 20, 80, 80)];
        _label1.backgroundColor = [UIColor greenColor];
        [self addSubview:_label1];
        
        
        
        
        
        
        
        
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
